Minimum-Layer Upward Drawings of Trees

نویسندگان

  • Muhammad Jawaherul Alam
  • Md. Abul Hassan Samee
  • Mashfiqui Rabbi
  • Md. Saidur Rahman
چکیده

An upward drawing of a rooted tree T is a planar straight-line drawing of T where the vertices of T are placed on a set of horizontal lines, called layers, such that for each vertex u of T , no child of u is placed on a layer vertically above the layer on which u has been placed. In this paper we give a linear-time algorithm to obtain an upward drawing of a given rooted tree T on the minimum number of layers. Moreover, if the given tree T is not rooted, we can select a vertex r of T in linear time such that an upward drawing of T rooted at r would require the minimum number of layers among all the upward drawings of T with any of its vertices as the root. We also extend our results on a rooted tree to give an algorithm for an upward drawing of a rooted ordered tree. To the best of our knowledge, there is no previous algorithm for obtaining an upward drawing of a tree on the minimum number of layers. Submitted: August 2009 Reviewed: January 2010 Revised: February 2010 Accepted: March 2010 Final: April 2010 Published: June 2010 Article type: Regular paper Communicated by: G. Liotta E-mail addresses: [email protected] (Muhammad Jawaherul Alam) [email protected] (Md. Abul Hassan Samee) [email protected] (Mashfiqui Rabbi) [email protected] (Md. Saidur Rahman) 246 M. J. Alam et al. Minimum-Layer Upward Drawings of Trees

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

On Upward Drawings of Trees on a Given Grid

Computing a minimum-area planar straight-line drawing of a graph is known to be NP-hard for planar graphs, even when restricted to outerplanar graphs. However, the complexity question is open for trees. Only a few hardness results are known for straight-line drawings of trees under various restrictions such as edge length or slope constraints. On the other hand, there exist polynomial-time algo...

متن کامل

Optimum-width upward drawings of trees I: Rooted pathwidth

An upward drawing of a rooted tree is a drawing such that no parents are below their children. It is ordered if the edges to children appear in prescribed order around each vertex. It is well-known that any tree has an upward (unordered) drawing with width log(n+ 1). For ordered drawings, the best-known bounds for the width for binary trees is O(logn), while for arbitrary trees it is O(2 √ ). W...

متن کامل

Area-eecient Upward Tree Drawings

Rooted trees are usually drawn planar and upward , i.e., without crossings and with parents placed above their children. In this paper we investigate the area requirement of planar upward drawings of trees, and present optimal algorithms for constructing such drawings.

متن کامل

Ideal Drawings of Rooted Trees With Approximately Optimal Width

For rooted trees, an ideal drawing is one that is planar, straight-line, strictly-upward, and order-preserving. This paper considers ideal drawings of rooted trees with the objective of keeping the width of such drawings small. It is not known whether finding the minimum width is NPhard or polynomial. This paper gives a 2-approximation for this problem, and a 2∆-approximation (for ∆-ary trees) ...

متن کامل

Minimum-Area h-v Drawings Binary Trees

A b s t r a c t . We study the area requirement of h-v drawings of complete binary trees. An h-v drawing of a binary tree t is a drawing of t such that (a) nodes are points with integer coordinates, (b) each edge is either a rightward-horizontal or a downward-vertical straight-line segment from a node to one of its children, (c) edges do not intersect, and (d) if tl and t2 are immediate subtree...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:
  • J. Graph Algorithms Appl.

دوره 14  شماره 

صفحات  -

تاریخ انتشار 2010